package com.example.kevin.service.impl;

import com.example.kevin.entity.User;
import com.example.kevin.mapper.UserMapper;
import com.example.kevin.service.UserService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author: Kevin
 * Date: 2023/4/11 10:23
 */
@Service
@RequiredArgsConstructor
public class UserServiceImpl implements UserService {
    private final UserMapper userMapper;
    @Override
    public List<User> getUsers() {
        List<User> users = userMapper.getUsers();
        return users;
    }
}
